<?php
session_start();
/**
 * @author HIENDV
 * @copyright 2012
 */
include_once '../../../Model/Account.php';
$user = $_SESSION['username'];
$pass = $_SESSION['password'];
$username=$_REQUEST['username'];
$name=$_REQUEST['name'];
$page=$_REQUEST['page'];
$per_page=$_REQUEST['per_page'];
/*$username='';
$name='';
$page=1;
$per_page=10;*/
$acc = new Account($user,$pass);
$totalpage=$acc->list_account($username,$name,2,$page,$per_page);
echo $totalpage;
?>